package cn.crc.pjblog;

import org.hibernate.SessionFactory;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Test11 {
	
	public static void main(String[] args){
		SessionFactory	sf	=(SessionFactory)
		new ClassPathXmlApplicationContext("applicationContext.xml")
			.getBean("sessionFactory");  
		
		
	}
}
